package com.example.common;

import com.example.pojo.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;

@Data
@Component
@NoArgsConstructor
@AllArgsConstructor
public class QueryPageParam {
    //默认
    private static Integer PAGE_SIZE = 20;
    private static Integer PAGE_NUM = 1;
    //传入
    private Integer pageSize=PAGE_SIZE;
    private Integer pageNum=PAGE_NUM;

    private HashMap param=new HashMap();



}
